package com.demo.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/***
 * 三种定制Tomcat的方法：
 *      1.在application.properties中写配置属性
 *      2.实现WebServerFactoryCustomizer<TomcatServletWebServerFactory>接口，并将其纳入到Spring容器
 *      3.在Spring容器中装配一个 TomcatServletWebServerFactory 对象
 */
@SpringBootApplication
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);
    }
}
